package com.winforsys.yellowbook;

import com.google.android.maps.GeoPoint;

public class Business {
	private String _business;
	private int _businessId;
	private GeoPoint _point;
	private boolean _newPoint;
	private double _offset;

	public Business(GeoPoint point, String business, int businessId) {
		_point = point;
		_business = business;
		_businessId = businessId;
		_newPoint = true;
	}

	public int getBusinessId() {
		return _businessId;
	}

	public String getBusiness() {
		return _business;
	}

	public GeoPoint getPoint() {
		return _point;
	}

	public boolean isNewPoint() {
		return _newPoint;
	}

	public double getOffset() {
		return _offset;
	}

	public void setOldPoint() {
		_newPoint = false;
	}

	public void setOffset(double offset) {
		_offset = offset;
	}

}